package com.kingtroldata.monitorview_demo;

import java.util.List;

/**
 * Created by user on 2017/2/14.
 */

public class ConfigBean {

    /**
     * configuration : {"bgUrl":"/1151041276/bg/xgs.jpg","dataColor":"#ffff00","dataSize":"20","dataX":"0","dataY":"0","designX":"1136.0000","designY":"542.0000","factoryId":1151041276,"imageX":"0","imageY":"0","locationId":11,"monitorManageId":17,"preUrl":"http://jk-cloud-app.oss-cn-hangzhou.aliyuncs.com/fac_tec_mon_pic","textColor":"#ffffff","textSize":"20","textX":"0","textY":"0"}
     * pic : [{"monitorFieldCode":"fckl_xgz_phj","monitorFieldExpress":"fckl_xgz_phj","monitorFieldName":"PH计","monitorFieldRoomId":"239","monitorFieldTable":"t_xgz","monitorFieldType":0,"monitorId":226,"monitorLocationBg":"https://jk-cloud-monitor-img.oss-cn-hangzhou.aliyuncs.com\r\n/common/arrow-l.png","monitorLocationId":123,"monitorLocationImgHeight":15,"monitorLocationImgWidth":39,"monitorLocationName":"","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":0,"monitorLocationX":199,"monitorLocationY":122,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251},{"monitorFieldCode":"fckl_xgz_xgzssjyx","monitorFieldExpress1":"fckl_xgz_xgzssjyx","monitorFieldName":"细格栅输送机运行","monitorFieldRoomId":"239","monitorFieldTable":"t_xgz","monitorFieldType":1,"monitorId":231,"monitorLocationBg":"https://jk-cloud-monitor-img.oss-cn-hangzhou.aliyuncs.com\r\n/common/point-r.png","monitorLocationId":124,"monitorLocationImgHeight":19,"monitorLocationImgWidth":19,"monitorLocationName":"","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":0,"monitorLocationX":525,"monitorLocationY":274,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251},{"monitorFieldCode":"fckl_xgz_1axgzyx","monitorFieldExpress1":"fckl_xgz_1axgzyx","monitorFieldName":"1#细格栅运行","monitorFieldRoomId":"239","monitorFieldTable":"t_xgz","monitorFieldType":1,"monitorId":227,"monitorLocationBg":"https://jk-cloud-monitor-img.oss-cn-hangzhou.aliyuncs.com\r\n/common/point-r.png","monitorLocationId":133,"monitorLocationImgHeight":19,"monitorLocationImgWidth":19,"monitorLocationName":"","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":0,"monitorLocationX":482,"monitorLocationY":198,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251},{"monitorFieldCode":"fckl_xgz_2axgzyx","monitorFieldExpress1":"fckl_xgz_2axgzyx","monitorFieldName":"2#细格栅运行","monitorFieldRoomId":"239","monitorFieldTable":"t_xgz","monitorFieldType":1,"monitorId":229,"monitorLocationBg":"https://jk-cloud-monitor-img.oss-cn-hangzhou.aliyuncs.com\r\n/common/point-r.png","monitorLocationId":134,"monitorLocationImgHeight":19,"monitorLocationImgWidth":19,"monitorLocationName":"","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":0,"monitorLocationX":469,"monitorLocationY":150,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251}]
     * content : [{"monitorFieldType":0,"monitorId":0,"monitorLocationId":121,"monitorLocationImgHeight":0,"monitorLocationImgWidth":0,"monitorLocationName":"2#细格栅","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":1,"monitorLocationX":418,"monitorLocationY":130,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251},{"monitorFieldType":0,"monitorId":0,"monitorLocationId":122,"monitorLocationImgHeight":0,"monitorLocationImgWidth":0,"monitorLocationName":"1#细格栅","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":1,"monitorLocationX":418,"monitorLocationY":223,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251},{"monitorFieldType":0,"monitorId":0,"monitorLocationId":125,"monitorLocationImgHeight":0,"monitorLocationImgWidth":0,"monitorLocationName":"螺旋输送机","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":1,"monitorLocationX":507,"monitorLocationY":299,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251},{"monitorFieldType":0,"monitorId":0,"monitorLocationId":126,"monitorLocationImgHeight":0,"monitorLocationImgWidth":0,"monitorLocationName":"PH","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":1,"monitorLocationX":174,"monitorLocationY":121,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251},{"monitorFieldType":0,"monitorId":0,"monitorLocationId":127,"monitorLocationImgHeight":0,"monitorLocationImgWidth":0,"monitorLocationName":"1#搅拌机","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":1,"monitorLocationX":844,"monitorLocationY":368,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251},{"monitorFieldType":0,"monitorId":0,"monitorLocationId":128,"monitorLocationImgHeight":0,"monitorLocationImgWidth":0,"monitorLocationName":"2#搅拌机","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":1,"monitorLocationX":683,"monitorLocationY":70,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251},{"monitorFieldType":0,"monitorId":0,"monitorLocationId":129,"monitorLocationImgHeight":0,"monitorLocationImgWidth":0,"monitorLocationName":"出水至配水井","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":1,"monitorLocationX":996,"monitorLocationY":404,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251},{"monitorFieldType":0,"monitorId":0,"monitorLocationId":130,"monitorLocationImgHeight":0,"monitorLocationImgWidth":0,"monitorLocationName":"1#旋流除砂机","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":1,"monitorLocationX":833,"monitorLocationY":337,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251},{"monitorFieldType":0,"monitorId":0,"monitorLocationId":131,"monitorLocationImgHeight":0,"monitorLocationImgWidth":0,"monitorLocationName":"砂水分离器","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":1,"monitorLocationX":942,"monitorLocationY":211,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251},{"monitorFieldType":0,"monitorId":0,"monitorLocationId":132,"monitorLocationImgHeight":0,"monitorLocationImgWidth":0,"monitorLocationName":"2#旋流除砂机","monitorLocationOff":"","monitorLocationOn":"","monitorLocationType":1,"monitorLocationX":669,"monitorLocationY":38,"monitorManageId":17,"monitorType":0,"sCreateUserId":251,"sFlag":1,"sModifyUserId":251}]
     */

    public ConfigurationBean configuration;
    public List<PicBean> pic;
    public List<ContentBean> content;

    public static class ConfigurationBean {
        /**
         * bgUrl : /1151041276/bg/xgs.jpg
         * dataColor : #ffff00
         * dataSize : 20
         * dataX : 0
         * dataY : 0
         * designX : 1136.0000
         * designY : 542.0000
         * factoryId : 1151041276
         * imageX : 0
         * imageY : 0
         * locationId : 11
         * monitorManageId : 17
         * preUrl : http://jk-cloud-app.oss-cn-hangzhou.aliyuncs.com/fac_tec_mon_pic
         * textColor : #ffffff
         * textSize : 20
         * textX : 0
         * textY : 0
         */

        public String bgUrl;
        public String dataColor;
        public float dataSize;
        public String dataX;
        public String dataY;
        public float designX;
        public float designY;
        public int factoryId;
        public String imageX;
        public String imageY;
        public int locationId;
        public int monitorManageId;
        public String preUrl;
        public String textColor;
        public float textSize;
        public String textX;
        public String textY;
    }

    public static class PicBean {
        /**
         * monitorFieldCode : fckl_xgz_phj
         * monitorFieldExpress : fckl_xgz_phj
         * monitorFieldName : PH计
         * monitorFieldRoomId : 239
         * monitorFieldTable : t_xgz
         * monitorFieldType : 0
         * monitorId : 226
         * monitorLocationBg : https://jk-cloud-monitor-img.oss-cn-hangzhou.aliyuncs.com
         /common/arrow-l.png
         * monitorLocationId : 123
         * monitorLocationImgHeight : 15
         * monitorLocationImgWidth : 39
         * monitorLocationName :
         * monitorLocationOff :
         * monitorLocationOn :
         * monitorLocationType : 0
         * monitorLocationX : 199
         * monitorLocationY : 122
         * monitorManageId : 17
         * monitorType : 0
         * sCreateUserId : 251
         * sFlag : 1
         * sModifyUserId : 251
         * monitorFieldExpress1 : fckl_xgz_xgzssjyx
         */

        public String monitorFieldCode;
        public String monitorFieldExpress;
        public String monitorFieldName;
        public String monitorFieldRoomId;
        public String monitorFieldTable;
        public int monitorFieldType;
        public int monitorId;
        public String monitorLocationBg;
        public int monitorLocationId;
        public float monitorLocationImgHeight;
        public float monitorLocationImgWidth;
        public String monitorLocationName;
        public String monitorLocationOff;
        public String monitorLocationOn;
        public int monitorLocationType;
        public float monitorLocationX;
        public float monitorLocationY;
        public int monitorManageId;
        public int monitorType;
        public int sCreateUserId;
        public int sFlag;
        public int sModifyUserId;
        public String monitorFieldExpress1;
    }

    public static class ContentBean {
        /**
         * monitorFieldType : 0
         * monitorId : 0
         * monitorLocationId : 121
         * monitorLocationImgHeight : 0
         * monitorLocationImgWidth : 0
         * monitorLocationName : 2#细格栅
         * monitorLocationOff :
         * monitorLocationOn :
         * monitorLocationType : 1
         * monitorLocationX : 418
         * monitorLocationY : 130
         * monitorManageId : 17
         * monitorType : 0
         * sCreateUserId : 251
         * sFlag : 1
         * sModifyUserId : 251
         */

        public int monitorFieldType;
        public int monitorId;
        public int monitorLocationId;
        public int monitorLocationImgHeight;
        public int monitorLocationImgWidth;
        public String monitorLocationName;
        public String monitorLocationOff;
        public String monitorLocationOn;
        public int monitorLocationType;
        public float monitorLocationX;
        public float monitorLocationY;
        public int monitorManageId;
        public int monitorType;
        public int sCreateUserId;
        public int sFlag;
        public int sModifyUserId;
    }
}
